!'use strict';
let lightmethodController = require('../../../app/controller/back/operate/lightmethodController');
lightmethodController = ModelProxy(lightmethodController);
let router = require('express').Router();

//照明策略
router.get('/page', lightmethodController.lightmethodPage);
router.post('/list', lightmethodController.lightmethodList);

//照明策略——创建
router.get('/create/page', lightmethodController.lightmethod_create);
router.post('/create/save', lightmethodController.lightmethodCreateSave);
// //照明策略——详情
router.get('/detail/page', lightmethodController.lightmethodDetailPage);
router.post('/detail/data', lightmethodController.lightmethodDetailData);
// ——修改
router.get('/modify/page', lightmethodController.lightmethodModifyPage);
router.post('/modify/save', lightmethodController.lightmethodModifySave);

//照明策略——删除
router.post('/delete', lightmethodController.lightmethodDelete);

module.exports = router;